package site.kuangzhang.probe.handler;

import site.kuangzhang.probe.pojo.Miner;

public class UnknowHandler implements Handler {

	private Miner miner;

	public UnknowHandler(Miner miner) {
		this.miner = miner;
	}

	@Override
	public void execute() {
		miner.setType(HandlerFacotry.UNKNOW);
		System.err.println(miner.getIp() + " 无法连接");
	}
}
